Package com.cisco.pt.ipc.sim.pdu.impl
Class OSPFv3DDPacketImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFPacketImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFDDPacketImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFv3DDPacketImpl
- All Implemented Interfaces:
IPCData,OSPFDDPacket,OSPFPacket,OSPFv3DDPacket,Pdu,Signal
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFDDPacketImpl
initBit, listLSAHeaders, masterBit, moreBit, mtu, option, seqNumberFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFPacketImpl
areaId, authenticationType, checkSum, length, routerId, sequence, typeCode, versionFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) intvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetOptionV3(int optionV3) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFDDPacketImpl
getInitBit, getListLSAHeaders, getMasterBit, getMoreBit, getMtu, getOption, getSeqNumber, setInitBit, setListLSAHeaders, setMasterBit, setMoreBit, setMtu, setOption, setSeqNumberMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFPacketImpl
getAreaId, getAuthenticationType, getCheckSum, getLength, getRouterId, getSequence, getTypeCode, getVersion, setAreaId, setAuthenticationType, setCheckSum, setLength, setRouterId, setSequence, setTypeCode, setVersionMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.OSPFDDPacket
getInitBit, getListLSAHeaders, getMasterBit, getMoreBit, getMtu, getOption, getSeqNumber, setInitBit, setListLSAHeaders, setMasterBit, setMoreBit, setMtu, setOption, setSeqNumberMethods inherited from interface com.cisco.pt.ipc.sim.pdu.OSPFPacket
getAreaId, getAuthenticationType, getCheckSum, getLength, getRouterId, getSequence, getTypeCode, getVersion, setAreaId, setAuthenticationType, setCheckSum, setLength, setRouterId, setSequence, setTypeCode, setVersionMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
optionV3
protected int optionV3
-
-
Constructor Details
-
OSPFv3DDPacketImpl
public OSPFv3DDPacketImpl()
-
-
Method Details
-
getOptionV3
public int getOptionV3()- Specified by:
getOptionV3in interfaceOSPFv3DDPacket- Returns:
- int Returns a int
-
setOptionV3
public void setOptionV3(int optionV3) - Specified by:
setOptionV3in interfaceOSPFv3DDPacket- Parameters:
optionV3- Takes in a parameter of optionV3
-
getFieldType
- Overrides:
getFieldTypein classOSPFDDPacketImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classOSPFDDPacketImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classOSPFDDPacketImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classOSPFDDPacketImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classOSPFDDPacketImpl
-